//
//  SelectTitleView.m
//  Mahjong
//
//  Created by Chen on 16/9/2.
//  Copyright © 2016年 Elliot. All rights reserved.
//

#import "SelectTitleView.h"

@implementation SelectTitleView

+ (instancetype)initSelectTitleViewWithFrame:(CGRect)frame{
    SelectTitleView *view = [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil].firstObject;
    view.frame = frame;
    return view;
}


- (IBAction)clickAction:(id)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(clickSelectTitleView:)]) {
        [self.delegate clickSelectTitleView:self];
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
